package net.huashitong.ssydt.provider.h5.currentpolitics.dto;

import java.io.Serializable;
import java.util.Map;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2018.01.25
 */
public class WxSdkDTO implements Serializable {

    private static final long serialVersionUID = 4053376111409570709L;

    private String appId;

    private String timestamp;

    private String nonceStr;

    private String signature;

    private String baseUrl;

    public WxSdkDTO(Map<String, String> map, String appid, String baseUrl) {
        this.appId = appid;
        this.timestamp = map.get("timestamp");
        this.nonceStr = map.get("nonceStr");
        this.signature = map.get("signature");
        this.baseUrl = baseUrl;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getNonceStr() {
        return nonceStr;
    }

    public void setNonceStr(String nonceStr) {
        this.nonceStr = nonceStr;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }
}
